﻿using AutoMapper;
using SC.GridManage.API.Read.Application.command.PhysicalGrid;
using SC.GridManage.API.Read.Application.command.UnitGrid;
using SC.GridManage.Domain.Models;

namespace SC.GridManage.API.Read
{
    public class GMAutoMapper:Profile
    {
        public GMAutoMapper() {
            CreateMap<PhysicalGridDTO, PhysicalGridModel>().ReverseMap();
            CreateMap<GetUnitGridDTO, UnitGridModel>().ReverseMap();
        }
    }
}
